package com.caiyouxi.partner.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.util.Date;

/**
 * 渠道分成协议设置类
 *
 * Created by Administrator on 2017/10/18.
 */
public class ChannelContractBean extends QueryParams implements Serializable {

    private Integer channel_id;             //渠道编号
    private Integer app_id;                 //应用/游戏编号
    private Integer doubtful_percent;       //疑单率

    private double proportion;                //渠道方获得的分成比例
    private String step_proportion;           //阶梯分佣比例。
    private String contract_file;            //和 CP 的合同文件地址（如果有）
    private String contract_num;             //和渠道的合同编号
    private Date contract_begin_date;        //和渠道的合同开始日期
    private Date contract_end_date;          //和渠道的合同结束日期
    private String balance_date;             //和渠道的结算日期，格式为：xMxD。
    private Integer need_advances;           //是否需要该渠道支付预付款。0-否；1-是。
    private Date create_time;                 //创建时间
    private Date update_time;                 //更新时间
    private Integer created_by;              //创建人
    private Integer updated_by;              //更新人
    private String contacts;                 //该渠道对接我方的上午联系人编号，可多个用|分隔

    public Integer getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(Integer channel_id) {
        this.channel_id = channel_id;
    }

    public Integer getApp_id() {
        return app_id;
    }

    public void setApp_id(Integer app_id) {
        this.app_id = app_id;
    }

    public Integer getDoubtful_percent() {
        return doubtful_percent;
    }

    public void setDoubtful_percent(Integer doubtful_percent) {
        this.doubtful_percent = doubtful_percent;
    }

    public double getProportion() {
        return proportion;
    }

    public void setProportion(double proportion) {
        this.proportion = proportion;
    }

    public String getStep_proportion() {
        return step_proportion;
    }

    public void setStep_proportion(String step_proportion) {
        this.step_proportion = step_proportion;
    }

    public String getContract_file() {
        return contract_file;
    }

    public void setContract_file(String contract_file) {
        this.contract_file = contract_file;
    }

    public String getContract_num() {
        return contract_num;
    }

    public void setContract_num(String contract_num) {
        this.contract_num = contract_num;
    }

    public Date getContract_begin_date() {
        return contract_begin_date;
    }

    public void setContract_begin_date(Date contract_begin_date) {
        this.contract_begin_date = contract_begin_date;
    }

    public Date getContract_end_date() {
        return contract_end_date;
    }

    public void setContract_end_date(Date contract_end_date) {
        this.contract_end_date = contract_end_date;
    }

    public String getBalance_date() {
        return balance_date;
    }

    public void setBalance_date(String balance_date) {
        this.balance_date = balance_date;
    }

    public Integer getNeed_advances() {
        return need_advances;
    }

    public void setNeed_advances(Integer need_advances) {
        this.need_advances = need_advances;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getCreated_by() {
        return created_by;
    }

    public void setCreated_by(Integer created_by) {
        this.created_by = created_by;
    }

    public Integer getUpdated_by() {
        return updated_by;
    }

    public void setUpdated_by(Integer updated_by) {
        this.updated_by = updated_by;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
}